package com.iyunwen.datatool.common.enums;

import com.iyunwen.datatool.model.dbdo.EventDataDO;
import com.iyunwen.datatool.model.vo.BaseNormalizationDataVO;
import lombok.Getter;

/**
 * @description: 数据来源类型枚举
 * @author: Zhu.Guodong
 * @create: 2020-03-19 09:40
 * @version:
 */
@Getter
public enum DataSourceTypeEnum {
    NONE(0, "无"),
    EVENT_LOG(1, "事件日志", EventDataDO.class),
    ;

    int index;
    String name;

    Class<BaseNormalizationDataVO> baseVO;

    DataSourceTypeEnum(int index, String name) {
        this.index = index;
        this.name = name;
    }


    DataSourceTypeEnum(int index, String name, Class baseVO) {
        this.index = index;
        this.name = name;
        this.baseVO = baseVO;
    }
}
